package saleMarket.domain;

import lombok.*;

@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
//货物运输
//id,freightStatus,inventoryGoods_id,logistics_id
public class FreightCargo implements Comparable<FreightCargo> {
    private Integer id;
    private String description;
    //库存货物
    private InventoryGoods inventoryGoods;
    //物流
    private Logistics logistics;
    public FreightCargo(String description,InventoryGoods inventoryGoods,Logistics logistics){
        this.description=description;
        this.inventoryGoods=inventoryGoods;
        this.logistics=logistics;
    }

    @Override
    public int compareTo(FreightCargo o) {
        return 0;
    }
}
